package com.example.hotelmanagement.mapper;

import com.example.hotelmanagement.entity.Reservation;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ReservationMapper {
    List<Reservation> findAll();
    Reservation findById(Integer reservationId);
    List<Reservation> findByRoomId(Integer roomId);
    List<Reservation> findByStatus(String status);
    int insert(Reservation reservation);
    int update(Reservation reservation);
    int delete(Integer reservationId);
}